//#include"./file_descriptor.h"
#define MAX_NO_FILES 100
#include<stdio.h>
struct main_header
{
char vfs_label[10];
unsigned long int vfs_size; 
unsigned int max_descriptors;
unsigned int fd_used;
unsigned long int free_address;
unsigned long int root_address;
unsigned int root_size;
unsigned int root_descriptors;
}m;

FILE *fp;

int vfs_mounted ;
void create_vfs(char*,int);
void mount_vfs(char *);
void unmount_vfs(char *);
void print_vfs_details();
void update_main_header();
void test_disk();
int check_slash(char *);
//void traverse_path(char *);
/////////////validation functions///////
int create_vfs_validate(char * , int);
int mount_vfs_validate(char *);
int unmount_vfs_validate(char *);